home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
System
/
DEF
/
Process
/
Inheritation
/
inherit
next >
Wrap
Text File
|
1998-10-23
|
495b
|
20 lines
inherit symbol
This is needed when you use def-grammar to define both song structures and melodies, or multiple song structures. inherit enables you to set up the inheritation to follow the needed symbol.
(def-grammar 'song
all-sections (a b c)
)
(def-grammar 'melody
sect-a (sect-a sect-b)
sect-b (sect-b sect-a)
)
(inherit song) ; sets inheritation to follow song
; without this inheritation follows melody
(def-class symbol bass
all-instruments all-sections
)